import service from '@/api/baiduzhibo'

export function getRoomInfo(params) {
  return service({
    url:'/getRoomInfo',
    method:'POST',
    data:params,
  })
}

export function loginBaidu(params) {
  return service({
    url:'/loginBaidu',
    method:'POST',
    data:params,
  })
}

export function sendDanmuPRO(params) {
  return service({
    url:'/sendDanmuPRO',
    method:'POST',
    data:params,
  })
}

export function sendDanmu(params) {
  return service({
    url:'/sendDanmu',
    method:'POST',
    data:params,
  })
}

export function stopDanmu(params) {
  return service({
    url:'/stopDanmu',
    method:'POST',
    data:params,
  })
}

export function getConfigList(params) {
  return service({
    url:'/getConfigList',
    method:'POST',
    data:params,
  })
}

export function getConfigDetail(params) {
  return service({
    url:'/getConfigDetail',
    method:'POST',
    data:params,
  })
}

export function saveConfig(params) {
  return service({
    url:'/saveConfig',
    method:'POST',
    data:params,
  })
}

export function delConfig(params) {
  return service({
    url:'/delConfig',
    method:'POST',
    data:params,
  })
}

export function exit(params) {
  return service({
    url:'/exit',
    method:'POST',
    data:params,
  })
}

export function getDanmuList(params) {
  return service({
    url:'/getDanmuList',
    method:'POST',
    data:params,
  })
}

export function getProductList(params) {
  return service({
    url:'/getProductList',
    method:'POST',
    data:params,
  })
}

export function addDanmu(params) {
  return service({
    url:'/addDanmu',
    method:'POST',
    data:params,
  })
}

export function getDanmutxtList(params) {
  return service({
    url:'/getDanmutxtList',
    method:'POST',
    data:params,
  })
}

export function getDanmuDetail(params) {
  return service({
    url:'/getDanmuDetail',
    method:'POST',
    data:params,
  })
}

export function getZhanghaoList(params) {
  return service({
    url:'/getZhanghaoList',
    method:'POST',
    data:params,
  })
}

export function addBduss(params) {
  return service({
    url:'/addBduss',
    method:'POST',
    data:params,
  })
}

export function getBdussDetail(params) {
  return service({
    url:'/getBdussDetail',
    method:'POST',
    data:params,
  })
}

export function getHuifuBdussList(params) {
  return service({
    url:'/getHuifuBdussList',
    method:'POST',
    data:params,
  })
}

export function addHuifuBduss(params) {
  return service({
    url:'/addHuifuBduss',
    method:'POST',
    data:params,
  })
}

